home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Development Platforms / Apple II / Essentials / Technical.Notes / AIIe / TN.AIIE.008 < prev    next >
Encoding:
Text File  |  1989-04-21  |  4.9 KB  |  97 lines  |  [TEXT/pdos]

  1. Apple II
  2. Technical Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5.  
  6.  
  7. Apple IIe
  8. #8:    Known Anomalies of Enhanced IIe ROMs
  9.  
  10. Revised by:    Matt Deatherage                                  November 1988
  11. Revised by:    Cameron Birse                                    February 1986
  12.  
  13. This Technical Note describes three problems with the Enhanced IIe ROMs and 
  14. some suggested solutions.
  15. _____________________________________________________________________________
  16.  
  17. The following three anomalies are known to occur when the Enhanced IIe ROMs 
  18. are present:
  19.  
  20. 1.    Some Apple II peripheral cards do not handle interrupts well since 
  21.       Apple II family members before the IIc and Enhanced IIe did not 
  22.       handle them very well either.  If a card that cannot handle 
  23.       interrupts is used on the Enhanced Apple IIe, any interrupt is 
  24.       very likely to crash the system.  A common example of this would 
  25.       be older, non-interruptible printer cards used with a Mouse card 
  26.       in the system.  You can often work around this problem by 
  27.       disabling interrupts before printing to such a printer card.
  28.  
  29. 2.    There may be some problems when using the ROMs with communications 
  30.       packages.  These problems are due to the way the 80-column 
  31.       firmware switches into 40-column mode.  By sending a Control-Q 
  32.       through COUT, the firmware switches into 40-column mode.  A simple 
  33.       solution to this would be to send an Escape-Control-D sequence, 
  34.       which disables the control functions.  This solution will remain 
  35.       in effect until either the 80-column card is re-initialized by 
  36.       PR#3 or an Escape-Control-E sequence is sent through COUT.  
  37.       Another solution would be to simply not allow Control-Q sequences 
  38.       to get through to COUT by filtering them before they get there.
  39.  
  40. 3.    Many developers using double high-resolution graphics may wish to 
  41.       use 40-column text displays so the text can be read on a 
  42.       television set.  There are a couple of possibilities:  
  43.  
  44.       A.    You can define your own double high-resolution character set 
  45.             with any size characters you desire, then plot them on the 
  46.             double high-resolution screen.
  47.  
  48.       B.    You can print text to the Apple IIe text screen and toggle the 
  49.             screen on to display it.
  50.  
  51.             Note:    There is no way to display four lines of 40-column 
  52.             text at the bottom of the double high-resolution screen 
  53.             in mixed mode since the 80-column hardware must be active 
  54.             while double high-resolution graphics are being 
  55.             displayed.
  56.  
  57.             To use the second method, however, does require some special 
  58.             considerations.
  59.  
  60.             The Apple IIe scroll routine continues to use the window 
  61.             parameters when scrolling, but uses the 80COL soft switch to 
  62.             determine if it should scroll the 80- or 40-column screen.  
  63.             Since the firmware has initialized a 40-column window, the 
  64.             scroll routines will move only the first 40 columns.  But, the 
  65.             80COL flag has been turned on for double high-resolution, 
  66.             therefore, the scrolling routine takes every even column from 
  67.             auxiliary memory and every odd column from main memory.  As a 
  68.             result, only the first 40 columns get scrolled, 20 columns from 
  69.             auxiliary memory and 20 columns from main memory.
  70.  
  71.             One possible solution to the problem is to write your own 
  72.             scroll routines.  Another might be to write to the screen so 
  73.             that scrolling will not occur.  But there is yet another 
  74.             solution.  Turn on the full 80-column mode with a PR#3 or the 
  75.             equivalent.  Now print your text to COUT in the normal manner, 
  76.             being careful not to exceed 40 characters per line.  The 80 
  77.             column firmware will scroll everything properly.  When you are 
  78.             ready to display text, send a Control-Q sequence through COUT 
  79.             to switch to 40 columns.  When you are ready to return to 
  80.             double high-resolution mode, send a Control-R sequence to COUT.
  81.  
  82.             When switching modes, a momentary glitch may occur.  If you 
  83.             send the Control-Q sequence to COUT while still in graphics 
  84.             mode, the screen will go to regular single high-resolution mode 
  85.             before finally going to text mode.  If you switch to text mode 
  86.             first, the text will be in 80-column mode (with 40 columns 
  87.             displayed on the left half of the screen) before ultimately 
  88.             going to 40-column mode.  The same potential glitch may occur 
  89.             going back to double high-resolution mode.  The glitch will be 
  90.             only momentary and may not present any problem for your 
  91.             application.
  92.  
  93.  
  94. Further Reference
  95.     o    Apple IIe Technical Reference Manual
  96.  
  97.